<extend name="layout/edit" />

<block name="HEADER">
    <style type="text/css">
    	.layui-tab-brief{ position: relative; }
		.layui-tab-brief > .btnAdd{
			position: absolute;
			right: 100px;
			top: 5px;
			cursor: pointer;
			z-index: 1;
		}
		.layui-tab-brief > .btnDel{
			position: absolute;
			right: 20px;
			top: 5px;
			cursor: pointer;
			z-index: 1;
		}
		.layui-tab { height: 100%; }
		.layui-tab .layui-tab-content {
			overflow: auto;
			padding: 25px;
			height: calc(100% - 40px);
		}
		.dlList { margin-bottom: 22px; overflow: hidden; }
		.dlList dt {
			border-bottom: 1px solid #eaeaea;
			margin-bottom: 10px;
			padding-bottom: 5px;
			color: #000000;
			font-weight: bold;
		}
		.dlList dd {
			padding-left: 10px;
			float: left;
			margin-right: 50px;
			line-height: 24px;
			cursor: pointer;
			margin-bottom: 15px;
			width: 20%;
		}
		.dlList dd p { color: #219AFF; font-weight: bold; }
		.dlList dd span { color: #CCCCCC; }
		/*轮播图*/
		.fileUploadContainer{ height: 100%; }
		.fileUpload-layui-carousel{ height: calc(100% - 25px) !important; }
    </style>
</block>

<block name="CONTENT">
    <control:form id="form"/>
</block>

<block name="FOOTER">
   <script type="text/javascript">
    var  page=(function(ns){
    	
        //保存
        ns.save=function(){
            form.save(1).then(function(res){
            	form.opener.location.href = form.opener.location.href;
            });
        }
        
        return ns;
    }({}));
    
   </script>
</block>



